package com.gree.scmservice.service;

import com.alibaba.fastjson.JSONObject;
import com.gree.common.entity.SysOperLog;
import com.gree.common.entity.TablePageData;
import org.nutz.dao.entity.Record;

import java.util.List;

/**
 * 操作日志 service
 * Created by 180686 on 2021/3/22 14:46
 */

public interface GscmSysOperLogService {

    TablePageData<SysOperLog> selectOperLogList(SysOperLog sysOperLog);
    /**
     * 分页查询
     * @param jsonObject
     * @return
     */
    TablePageData<Record> selectOperLogList(JSONObject jsonObject);

    /**
     * 批量删除系统操作日志
     * @param operIds 需要删除的操作日志ID
     * @return 结果
     */
    int deleteOperLogByIds(Long[] operIds);


    /**
     * 清空操作日志
     */
    void cleanOperLog();

}
